package com.boge.ai.tools;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.ai.tool.annotation.ToolParam;

public class Tools {

    @Tool(description = "计算两数之和")
    int add(@ToolParam(description = "第一个加数") int a, @ToolParam(description = "第二个加数") int b) {
        System.out.println("add方法执行了...");
        return a + b;
    }

    int add1( int a,  int b) {
        System.out.println("add1方法执行了...");
        return a + b;
    }

}
